TenWebOptimizer\OptimizerMain D

Total Complexity 235
Dependencies 13
Dependents 2
Total lines 1,032
Lines of code 803
Logical lines of code 443
Comment lines 94
Methods 21
Properties 49

Methods 21

Method Rating Maintainability Complexity Lines of code
init()
D
14
76 232
end_buffering()
D
23
40 174
add_lazyload_js_footer()
C
36 24 80
should_serve_optimized_page()
A
48 16 31
set_modes()
A
51 13 24
add_delayed_javascript_execution_script_header()
A
37 7 109
reinit_lazy_load_options()
A
56 10 18
two_headers()
A
51 9 24
dirsize()
S
56 7 18
check_cache_dir()
S
56 7 18
detect_elementor_video_widget()
S
64 5 9
dequeue_jquery_migrate()
S
65 5 8
check_and_create_dirs()
S
62 4 11
get_instance()
S
72 2 6
clear_cache()
S
67 2 7
two_meta()
S
66 2 8
add_optimization_status_headers()
S
71 2 6
get_two_worker_data_script_tag()
S
74 1 4
two_enqueue_styles()
S
78 1 3
two_deregister_styles()
S
81 1 3
__construct()
S
62 1 10